<bc:ExGRID x:Class="SLS.Presentation.GridMiniKDSTAMM"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:exc="clr-namespace:SLS.Controls;assembly=CLSControls" 
             xmlns:bc="clr-namespace:SLS.Base;assembly=CLSBase"
             x:Name="Container" 
             ToolTip="{Binding DisplayName}"
             xmlns:meffed="http:\\www.codeplex.com\MEFedMVVM"            
            mc:Ignorable="d"             
           d:DesignHeight="300"
           d:DesignWidth="600"         
        >
    <bc:ExGRID.Resources>
        <CollectionViewSource   x:Key="vwBaseTable"
                                Source="{Binding Path=ViewDataSet.SetEnv.KDSTAMM}" />
    </bc:ExGRID.Resources>
    <StackPanel>
    <WrapPanel>
        <CheckBox Name="IsCheckDataQuality"
        IsChecked="False">CheckDataQuality</CheckBox>
        <Button Name="btnEditRecord"
                Width="Auto"
                Height="Auto"
                VerticalAlignment="Stretch"
                Click="btnEdit_Click">Edit</Button>
        <Button Name="btnEditProcessingRecord"
                Width="Auto"
                Height="Auto"
                VerticalAlignment="Stretch"
                Click="btnEditProcessingRecord_Click">ALL</Button>
     </WrapPanel>
    <WrapPanel>
        <exc:NMICD Name="NMICD"/>
    </WrapPanel>
    <exc:FilteringDataGrid 
          Name="MainGridData"
          ItemsSource="{Binding Source={StaticResource ResourceKey=vwBaseTable}}"
          AutoGenerateColumns="False"
          IsSynchronizedWithCurrentItem="True"
          SelectionChanged="ItemsControls_SelectionChanged"
          SelectionMode="Extended"
          Height="Auto"
          ColumnWidth="SizeToHeader"
          SelectionUnit="FullRow">
        <DataGrid.Columns>
                <DataGridTextColumn x:Name="SM"
                                    Binding="{Binding Path=SM}"
                                    Header="SM"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="GTPRE"
                                    Binding="{Binding Path=GTPRE}"
                                    Header="GTPRE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="GTKEY"
                                    Binding="{Binding Path=GTKEY}"
                                    Header="GTKEY"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="GDKEY"
                                    Binding="{Binding Path=GDKEY}"
                                    Header="GDKEY"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="GDID"
                                    Binding="{Binding Path=GDID}"
                                    Header="GDID"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="LDES"
                                    Binding="{Binding Path=LDES}"
                                    Header="LDES"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="SDES"
                                    Binding="{Binding Path=SDES}"
                                    Header="SDES"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="FUSER"
                                    Binding="{Binding Path=FUSER}"
                                    Header="FUSER"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="FDATE"
                                    Binding="{Binding Path=FDATE}"
                                    Header="FDATE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="LUSR"
                                    Binding="{Binding Path=LUSR}"
                                    Header="LUSR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="LDATE"
                                    Binding="{Binding Path=LDATE}"
                                    Header="LDATE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="UID"
                                    Binding="{Binding Path=UID}"
                                    Header="UID"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKUNDNR"
                                    Binding="{Binding Path=KDKUNDNR}"
                                    Header="KDKUNDNR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKUNDNA"
                                    Binding="{Binding Path=KDKUNDNA}"
                                    Header="KDKUNDNA"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLAND"
                                    Binding="{Binding Path=KDLAND}"
                                    Header="KDLAND"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDPLZ"
                                    Binding="{Binding Path=KDPLZ}"
                                    Header="KDPLZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDORT"
                                    Binding="{Binding Path=KDORT}"
                                    Header="KDORT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBZ"
                                    Binding="{Binding Path=KDBZ}"
                                    Header="KDBZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBZBEZ"
                                    Binding="{Binding Path=KDBZBEZ}"
                                    Header="KDBZBEZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTAKZ"
                                    Binding="{Binding Path=KDSTAKZ}"
                                    Header="KDSTAKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTADAT"
                                    Binding="{Binding Path=KDSTADAT}"
                                    Header="KDSTADAT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDABCKL"
                                    Binding="{Binding Path=KDABCKL}"
                                    Header="KDABCKL"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDANREDE"
                                    Binding="{Binding Path=KDANREDE}"
                                    Header="KDANREDE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDNAME1"
                                    Binding="{Binding Path=KDNAME1}"
                                    Header="KDNAME1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKNAME"
                                    Binding="{Binding Path=KDKNAME}"
                                    Header="KDKNAME"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDNAME2"
                                    Binding="{Binding Path=KDNAME2}"
                                    Header="KDNAME2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTRASSE1"
                                    Binding="{Binding Path=KDSTRASSE1}"
                                    Header="KDSTRASSE1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTRASSE2"
                                    Binding="{Binding Path=KDSTRASSE2}"
                                    Header="KDSTRASSE2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDPLZPOSTF"
                                    Binding="{Binding Path=KDPLZPOSTF}"
                                    Header="KDPLZPOSTF"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDPOSTFACH"
                                    Binding="{Binding Path=KDPOSTFACH}"
                                    Header="KDPOSTFACH"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDTEL"
                                    Binding="{Binding Path=KDTEL}"
                                    Header="KDTEL"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDTELEX"
                                    Binding="{Binding Path=KDTELEX}"
                                    Header="KDTELEX"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDFAX"
                                    Binding="{Binding Path=KDFAX}"
                                    Header="KDFAX"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBTX"
                                    Binding="{Binding Path=KDBTX}"
                                    Header="KDBTX"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDDATEX"
                                    Binding="{Binding Path=KDDATEX}"
                                    Header="KDDATEX"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMBOX"
                                    Binding="{Binding Path=KDMBOX}"
                                    Header="KDMBOX"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMAILADR"
                                    Binding="{Binding Path=KDMAILADR}"
                                    Header="KDMAILADR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDTTEX"
                                    Binding="{Binding Path=KDTTEX}"
                                    Header="KDTTEX"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDCOUNTY"
                                    Binding="{Binding Path=KDCOUNTY}"
                                    Header="KDCOUNTY"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDCITY"
                                    Binding="{Binding Path=KDCITY}"
                                    Header="KDCITY"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDZENTR"
                                    Binding="{Binding Path=KDZENTR}"
                                    Header="KDZENTR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDZENTRR"
                                    Binding="{Binding Path=KDZENTRR}"
                                    Header="KDZENTRR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSPRKZ"
                                    Binding="{Binding Path=KDSPRKZ}"
                                    Header="KDSPRKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBBN"
                                    Binding="{Binding Path=KDBBN}"
                                    Header="KDBBN"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSONDSTA"
                                    Binding="{Binding Path=KDSONDSTA}"
                                    Header="KDSONDSTA"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKDNRALT"
                                    Binding="{Binding Path=KDKDNRALT}"
                                    Header="KDKDNRALT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLO"
                                    Binding="{Binding Path=KDLO}"
                                    Header="KDLO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLB"
                                    Binding="{Binding Path=KDLB}"
                                    Header="KDLB"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLP"
                                    Binding="{Binding Path=KDLP}"
                                    Header="KDLP"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLIEFNR"
                                    Binding="{Binding Path=KDLIEFNR}"
                                    Header="KDLIEFNR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDINVDAT"
                                    Binding="{Binding Path=KDINVDAT}"
                                    Header="KDINVDAT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDDEBNR"
                                    Binding="{Binding Path=KDDEBNR}"
                                    Header="KDDEBNR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNR"
                                    Binding="{Binding Path=KDKREDNR}"
                                    Header="KDKREDNR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDUEBKZ"
                                    Binding="{Binding Path=KDUEBKZ}"
                                    Header="KDUEBKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAUSK"
                                    Binding="{Binding Path=KDAUSK}"
                                    Header="KDAUSK"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAUSKKZ"
                                    Binding="{Binding Path=KDAUSKKZ}"
                                    Header="KDAUSKKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMAHNST"
                                    Binding="{Binding Path=KDMAHNST}"
                                    Header="KDMAHNST"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMAHNH"
                                    Binding="{Binding Path=KDMAHNH}"
                                    Header="KDMAHNH"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDGRPCUNO"
                                    Binding="{Binding Path=KDGRPCUNO}"
                                    Header="KDGRPCUNO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDCLEARCUNO"
                                    Binding="{Binding Path=KDCLEARCUNO}"
                                    Header="KDCLEARCUNO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBIC1"
                                    Binding="{Binding Path=KDBIC1}"
                                    Header="KDBIC1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDIBAN1"
                                    Binding="{Binding Path=KDIBAN1}"
                                    Header="KDIBAN1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBIC2"
                                    Binding="{Binding Path=KDBIC2}"
                                    Header="KDBIC2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDIBAN2"
                                    Binding="{Binding Path=KDIBAN2}"
                                    Header="KDIBAN2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDLIM1"
                                    Binding="{Binding Path=KDKREDLIM1}"
                                    Header="KDKREDLIM1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDVON1"
                                    Binding="{Binding Path=KDKREDVON1}"
                                    Header="KDKREDVON1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDBIS1"
                                    Binding="{Binding Path=KDKREDBIS1}"
                                    Header="KDKREDBIS1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNLDAT1"
                                    Binding="{Binding Path=KDKREDNLDAT1}"
                                    Header="KDKREDNLDAT1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS1"
                                    Binding="{Binding Path=KDVERS1}"
                                    Header="KDVERS1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS21"
                                    Binding="{Binding Path=KDVERS21}"
                                    Header="KDVERS21"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDSB1"
                                    Binding="{Binding Path=KDKREDSB1}"
                                    Header="KDKREDSB1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSTAGE1"
                                    Binding="{Binding Path=KDVERSTAGE1}"
                                    Header="KDVERSTAGE1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSNR1"
                                    Binding="{Binding Path=KDVERSNR1}"
                                    Header="KDVERSNR1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDLIM2"
                                    Binding="{Binding Path=KDKREDLIM2}"
                                    Header="KDKREDLIM2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDVON2"
                                    Binding="{Binding Path=KDKREDVON2}"
                                    Header="KDKREDVON2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDBIS2"
                                    Binding="{Binding Path=KDKREDBIS2}"
                                    Header="KDKREDBIS2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNLDAT2"
                                    Binding="{Binding Path=KDKREDNLDAT2}"
                                    Header="KDKREDNLDAT2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS2"
                                    Binding="{Binding Path=KDVERS2}"
                                    Header="KDVERS2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS22"
                                    Binding="{Binding Path=KDVERS22}"
                                    Header="KDVERS22"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDSB2"
                                    Binding="{Binding Path=KDKREDSB2}"
                                    Header="KDKREDSB2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSTAGE2"
                                    Binding="{Binding Path=KDVERSTAGE2}"
                                    Header="KDVERSTAGE2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSNR2"
                                    Binding="{Binding Path=KDVERSNR2}"
                                    Header="KDVERSNR2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDLIM3"
                                    Binding="{Binding Path=KDKREDLIM3}"
                                    Header="KDKREDLIM3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDVON3"
                                    Binding="{Binding Path=KDKREDVON3}"
                                    Header="KDKREDVON3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDBIS3"
                                    Binding="{Binding Path=KDKREDBIS3}"
                                    Header="KDKREDBIS3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNLDAT3"
                                    Binding="{Binding Path=KDKREDNLDAT3}"
                                    Header="KDKREDNLDAT3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS3"
                                    Binding="{Binding Path=KDVERS3}"
                                    Header="KDVERS3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS23"
                                    Binding="{Binding Path=KDVERS23}"
                                    Header="KDVERS23"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDSB3"
                                    Binding="{Binding Path=KDKREDSB3}"
                                    Header="KDKREDSB3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSTAGE3"
                                    Binding="{Binding Path=KDVERSTAGE3}"
                                    Header="KDVERSTAGE3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSNR3"
                                    Binding="{Binding Path=KDVERSNR3}"
                                    Header="KDVERSNR3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDLIM4"
                                    Binding="{Binding Path=KDKREDLIM4}"
                                    Header="KDKREDLIM4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDVON4"
                                    Binding="{Binding Path=KDKREDVON4}"
                                    Header="KDKREDVON4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDBIS4"
                                    Binding="{Binding Path=KDKREDBIS4}"
                                    Header="KDKREDBIS4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNLDAT4"
                                    Binding="{Binding Path=KDKREDNLDAT4}"
                                    Header="KDKREDNLDAT4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS4"
                                    Binding="{Binding Path=KDVERS4}"
                                    Header="KDVERS4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS24"
                                    Binding="{Binding Path=KDVERS24}"
                                    Header="KDVERS24"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDSB4"
                                    Binding="{Binding Path=KDKREDSB4}"
                                    Header="KDKREDSB4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSTAGE4"
                                    Binding="{Binding Path=KDVERSTAGE4}"
                                    Header="KDVERSTAGE4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSNR4"
                                    Binding="{Binding Path=KDVERSNR4}"
                                    Header="KDVERSNR4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDLIM5"
                                    Binding="{Binding Path=KDKREDLIM5}"
                                    Header="KDKREDLIM5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDVON5"
                                    Binding="{Binding Path=KDKREDVON5}"
                                    Header="KDKREDVON5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDBIS5"
                                    Binding="{Binding Path=KDKREDBIS5}"
                                    Header="KDKREDBIS5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNLDAT5"
                                    Binding="{Binding Path=KDKREDNLDAT5}"
                                    Header="KDKREDNLDAT5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS5"
                                    Binding="{Binding Path=KDVERS5}"
                                    Header="KDVERS5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERS25"
                                    Binding="{Binding Path=KDVERS25}"
                                    Header="KDVERS25"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDSB5"
                                    Binding="{Binding Path=KDKREDSB5}"
                                    Header="KDKREDSB5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSTAGE5"
                                    Binding="{Binding Path=KDVERSTAGE5}"
                                    Header="KDVERSTAGE5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSNR5"
                                    Binding="{Binding Path=KDVERSNR5}"
                                    Header="KDVERSNR5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDEHA"
                                    Binding="{Binding Path=KDKREDEHA}"
                                    Header="KDKREDEHA"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDEHAR"
                                    Binding="{Binding Path=KDKREDEHAR}"
                                    Header="KDKREDEHAR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNOLI"
                                    Binding="{Binding Path=KDKREDNOLI}"
                                    Header="KDKREDNOLI"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNOLIV"
                                    Binding="{Binding Path=KDKREDNOLIV}"
                                    Header="KDKREDNOLIV"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDNOLIB"
                                    Binding="{Binding Path=KDKREDNOLIB}"
                                    Header="KDKREDNOLIB"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAUFBESTTO"
                                    Binding="{Binding Path=KDAUFBESTTO}"
                                    Header="KDAUFBESTTO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSUMLTO"
                                    Binding="{Binding Path=KDVERSUMLTO}"
                                    Header="KDVERSUMLTO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDOPSALDOTO"
                                    Binding="{Binding Path=KDOPSALDOTO}"
                                    Header="KDOPSALDOTO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDZUSKRED"
                                    Binding="{Binding Path=KDZUSKRED}"
                                    Header="KDZUSKRED"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDZKREVON"
                                    Binding="{Binding Path=KDZKREVON}"
                                    Header="KDZKREVON"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDZKREBIS"
                                    Binding="{Binding Path=KDZKREBIS}"
                                    Header="KDZKREBIS"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDZKREDSB"
                                    Binding="{Binding Path=KDZKREDSB}"
                                    Header="KDZKREDSB"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDOPSALDO"
                                    Binding="{Binding Path=KDOPSALDO}"
                                    Header="KDOPSALDO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDWEOBLIGO"
                                    Binding="{Binding Path=KDWEOBLIGO}"
                                    Header="KDWEOBLIGO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDVERSUML"
                                    Binding="{Binding Path=KDVERSUML}"
                                    Header="KDVERSUML"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSPERRKZ"
                                    Binding="{Binding Path=KDSPERRKZ}"
                                    Header="KDSPERRKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSPERRGRD"
                                    Binding="{Binding Path=KDSPERRGRD}"
                                    Header="KDSPERRGRD"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLAUFDAT"
                                    Binding="{Binding Path=KDLAUFDAT}"
                                    Header="KDLAUFDAT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBUCHHDAT"
                                    Binding="{Binding Path=KDBUCHHDAT}"
                                    Header="KDBUCHHDAT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBRANCHE"
                                    Binding="{Binding Path=KDBRANCHE}"
                                    Header="KDBRANCHE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDFAKTART"
                                    Binding="{Binding Path=KDFAKTART}"
                                    Header="KDFAKTART"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKORT"
                                    Binding="{Binding Path=KDKORT}"
                                    Header="KDKORT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLIMITKZ"
                                    Binding="{Binding Path=KDLIMITKZ}"
                                    Header="KDLIMITKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSPLIEFKZ"
                                    Binding="{Binding Path=KDSPLIEFKZ}"
                                    Header="KDSPLIEFKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAUFBEST"
                                    Binding="{Binding Path=KDAUFBEST}"
                                    Header="KDAUFBEST"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAUFBESTU"
                                    Binding="{Binding Path=KDAUFBESTU}"
                                    Header="KDAUFBESTU"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDPREISPRF"
                                    Binding="{Binding Path=KDPREISPRF}"
                                    Header="KDPREISPRF"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMATPRF"
                                    Binding="{Binding Path=KDMATPRF}"
                                    Header="KDMATPRF"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDBRTPRF"
                                    Binding="{Binding Path=KDBRTPRF}"
                                    Header="KDBRTPRF"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDGQMPRF"
                                    Binding="{Binding Path=KDGQMPRF}"
                                    Header="KDGQMPRF"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTKGPRF"
                                    Binding="{Binding Path=KDSTKGPRF}"
                                    Header="KDSTKGPRF"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSCHLIPRF"
                                    Binding="{Binding Path=KDSCHLIPRF}"
                                    Header="KDSCHLIPRF"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSCHLIABW"
                                    Binding="{Binding Path=KDSCHLIABW}"
                                    Header="KDSCHLIABW"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDDRPAR"
                                    Binding="{Binding Path=KDDRPAR}"
                                    Header="KDDRPAR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMWSTID"
                                    Binding="{Binding Path=KDMWSTID}"
                                    Header="KDMWSTID"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMWSTID2"
                                    Binding="{Binding Path=KDMWSTID2}"
                                    Header="KDMWSTID2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLBMUSTR"
                                    Binding="{Binding Path=KDLBMUSTR}"
                                    Header="KDLBMUSTR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDFBMUSTR"
                                    Binding="{Binding Path=KDFBMUSTR}"
                                    Header="KDFBMUSTR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTLAND"
                                    Binding="{Binding Path=KDSTLAND}"
                                    Header="KDSTLAND"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTREGBZ"
                                    Binding="{Binding Path=KDSTREGBZ}"
                                    Header="KDSTREGBZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTKREIS"
                                    Binding="{Binding Path=KDSTKREIS}"
                                    Header="KDSTKREIS"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSTORT"
                                    Binding="{Binding Path=KDSTORT}"
                                    Header="KDSTORT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDLSART"
                                    Binding="{Binding Path=KDLSART}"
                                    Header="KDLSART"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDREGMWST"
                                    Binding="{Binding Path=KDREGMWST}"
                                    Header="KDREGMWST"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMUSTERKZ"
                                    Binding="{Binding Path=KDMUSTERKZ}"
                                    Header="KDMUSTERKZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDUMSVVJH"
                                    Binding="{Binding Path=KDUMSVVJH}"
                                    Header="KDUMSVVJH"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDUMSVJH"
                                    Binding="{Binding Path=KDUMSVJH}"
                                    Header="KDUMSVJH"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDUMSLJH"
                                    Binding="{Binding Path=KDUMSLJH}"
                                    Header="KDUMSLJH"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDPRFZEUG"
                                    Binding="{Binding Path=KDPRFZEUG}"
                                    Header="KDPRFZEUG"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKONZMIT"
                                    Binding="{Binding Path=KDKONZMIT}"
                                    Header="KDKONZMIT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDRAITING"
                                    Binding="{Binding Path=KDRAITING}"
                                    Header="KDRAITING"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDRECHWERT1"
                                    Binding="{Binding Path=KDRECHWERT1}"
                                    Header="KDRECHWERT1"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDRECHWERT2"
                                    Binding="{Binding Path=KDRECHWERT2}"
                                    Header="KDRECHWERT2"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDRECHWERT3"
                                    Binding="{Binding Path=KDRECHWERT3}"
                                    Header="KDRECHWERT3"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDRECHWERT4"
                                    Binding="{Binding Path=KDRECHWERT4}"
                                    Header="KDRECHWERT4"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDRECHWERT5"
                                    Binding="{Binding Path=KDRECHWERT5}"
                                    Header="KDRECHWERT5"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKREDKDNR"
                                    Binding="{Binding Path=KDKREDKDNR}"
                                    Header="KDKREDKDNR"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKOND"
                                    Binding="{Binding Path=KDKOND}"
                                    Header="KDKOND"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKDARTBEZ"
                                    Binding="{Binding Path=KDKDARTBEZ}"
                                    Header="KDKDARTBEZ"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKFIBUDAT"
                                    Binding="{Binding Path=KDKFIBUDAT}"
                                    Header="KDKFIBUDAT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDKFIBUZEIT"
                                    Binding="{Binding Path=KDKFIBUZEIT}"
                                    Header="KDKFIBUZEIT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDILN"
                                    Binding="{Binding Path=KDILN}"
                                    Header="KDILN"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDDEBNRLAE"
                                    Binding="{Binding Path=KDDEBNRLAE}"
                                    Header="KDDEBNRLAE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDFACLIMIT"
                                    Binding="{Binding Path=KDFACLIMIT}"
                                    Header="KDFACLIMIT"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDSHIPINVD"
                                    Binding="{Binding Path=KDSHIPINVD}"
                                    Header="KDSHIPINVD"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAUFBUTO"
                                    Binding="{Binding Path=KDAUFBUTO}"
                                    Header="KDAUFBUTO"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDMAXBST"
                                    Binding="{Binding Path=KDMAXBST}"
                                    Header="KDMAXBST"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDGRUPPE"
                                    Binding="{Binding Path=KDGRUPPE}"
                                    Header="KDGRUPPE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDEORI"
                                    Binding="{Binding Path=KDEORI}"
                                    Header="KDEORI"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDEORINL"
                                    Binding="{Binding Path=KDEORINL}"
                                    Header="KDEORINL"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDNTSCV"
                                    Binding="{Binding Path=KDNTSCV}"
                                    Header="KDNTSCV"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDNTSCE"
                                    Binding="{Binding Path=KDNTSCE}"
                                    Header="KDNTSCE"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDFILLER"
                                    Binding="{Binding Path=KDFILLER}"
                                    Header="KDFILLER"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAENZL"
                                    Binding="{Binding Path=KDAENZL}"
                                    Header="KDAENZL"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAENB"
                                    Binding="{Binding Path=KDAENB}"
                                    Header="KDAENB"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDAEND"
                                    Binding="{Binding Path=KDAEND}"
                                    Header="KDAEND"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDNEUB"
                                    Binding="{Binding Path=KDNEUB}"
                                    Header="KDNEUB"
                                    Width="SizeToHeader" />
                <DataGridTextColumn x:Name="KDNEUD"
                                    Binding="{Binding Path=KDNEUD}"
                                    Header="KDNEUD"
                                    Width="SizeToHeader" />
            </DataGrid.Columns>
          </exc:FilteringDataGrid>  
      </StackPanel>
</bc:ExGRID> 